<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JavaScript的导入方式</title>
    <script>
        console.log("Hello head标签内联样式")
    </script>


</head>
<body>
    <!--创建script标签用来写js代码-->
    <h1>JavaScript的导入方式</h1>
    <script src="./js/myscript.js"> </script>
    <script>
        console.log("Hello body标签的内联样式");
        alert("你好内联样式弹窗"); /*打印弹窗*/
    </script>
</body>
</html>